<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>  


<html>
	<head>
		<script type="text/javascript" src="<s:url value='/res/js/test.js' htmlEscape='true' />"></script>
		<script type="text/javascript" src="<s:url value='/res/js/jquery-1.4.2.min.js' htmlEscape='true' />"></script>
	</head>
	<body>
		<p>
			This is my message username :
			<br>
			${user.username}
		</p>
		<p>
			This is my message: passs
			<br> 
			${user.password}
		</p>
	</body>
	<script language="javascript">
        function init(){
			test();
		}
		alert(1);
		init();
		$.post("<s:url value='/topic/post' htmlEscape='true' />", {}, function(data){alert(1);alert(data)});
	</script>
</html>
